<!DOCTYPE html>
<html>

<head>
    <include file="public@head" title="{$article.title}-{$article.category.name}"
             keywords="{$article.category.keywords}" description="{$article.excerpt}"/>
</head>

<body>
<include file="public@header"/>

<div class="page-header">
    <div class="layui-container">
        <div class="page-header-area">
            <h1 class="page-header-title">{$article.category.name}</h1>
        </div>
    </div>
</div>
<div class="layui-container">
    <hr class="bg-transparent"/>
    <p class="layui-breadcrumb">
        <a href="/">首页</a>
        <a href="{:url('index/list/index',array('id'=>$article.category.id))}">{$article.category.name}</a>
        <a href="{:url('index/article/index',array('id'=>$article.id))}">{$article.title}</a>
        <a><cite>详情</cite></a>
    </p>
    <hr class="bg-transparent"/>
</div>
<div class="layui-container">
    <article>
        <div class="post-head">
            <h2 class="post-title">{$article.title}</h2>
            <div class="post-meta">
                <span class="author">作者：<a href="http://www.zzuyxg.top" target="_blank">Eric</a></span> •
                <span class="post-date layui-hide-xs">{$article.create_time}</span>
                <span class="author">阅读：{$article.hits}</span>
            </div>
        </div>
        <div class="post-excerpt">
            <p>【摘要】{$article.excerpt}</p>
        </div>
        <div class="post-content" id="content">
            {$article.content|raw}
        </div>
        <div class="post-footer">
            <notempty name="front">
                <a class="pull-left" href="{:url('index/article/index',array('id'=>$front.id))}" title="{$front.title}">上一篇：{$front.title}</a>
            </notempty>
            <notempty name="next">
                <a class="pull-right" href="{:url('index/article/index',array('id'=>$next.id))}" title="{$next.title}">下一篇：{$next.title}</a>
            </notempty>
        </div>
    </article>
</div>
<include file="public@footer"/>
</body>

</html>
